Flow In Porous Media In The Energy Transition